package com.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 权益详细表(EquityDetailed)表实体类
 *
 * @author makejava
 * @since 2024-06-18 15:07:52
 */
@TableName("equity_detailed")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EquityDetailed extends Model<EquityDetailed> {
    @TableId(type = IdType.AUTO)
    //权益详细id
    private Long id;
    //支付方式
    private Integer payMethod;
    //积分数量
    private Integer pointsPrice;
    //现金价格
    private String cashPrice;
//权益类型
    private Integer raiType;
//富文本
    private String richText;
//兑换x限制
    private Integer exchangeRestrictions;
//库存
    private Integer inStock;
//剩余库存
    private Integer remainingStock;
//商品图片
    private String productPicture;
//展示时间
    private Date showTime;
//上线时间
    private Date timeOn;
//下线时间
    private Date timeOff;
//城市白名单
    private String cityWhitelist;
//城市黑名单
    private String cityBlacklist;
//创建时间
    private Date createTime;
//修改时间
    private Date updateTime;
//操作人id
    private Long userId;
//备注
    private String remark;


}

